﻿using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework;

namespace XNAFight.Engine.Inputs
{
    class InGamePadConfiguration : InGameInputConfiguration
    {
        private readonly PlayerIndex player_index;

        public InGamePadConfiguration(PlayerIndex _player_index)
        {
            player_index = _player_index;

            /// On initialise tous les raccourcis ici en attendant 
            /// de donner la possibilité de les configurer
            light_punch = Buttons.X;
            medium_punch = Buttons.Y;
            heavy_punch = Buttons.LeftShoulder;
            light_kick = Buttons.A;
            medium_kick = Buttons.B;
            heavy_kick = Buttons.RightShoulder;
        }
        
        public override InputType Device
        {
            get { return InputType.Pad; }
        }

        public PlayerIndex PlrIndex
        {
            get { return player_index; }
        }
    }
}
